<!--
 * @Description: 
 * @Author: mxy
 * @Date: 2022-12-04 11:10:56
 * @LastEditors: mxy
 * @LastEditTime: 2022-12-04 16:44:14
-->
<template>
  <div>
    <p>电影</p>
    <p>
      您正在观看的电影是:{{ $route.params.name }},电影id:{{ $route.params.id }}
      <button @click="$router.go(-1)">后退1</button>
      <button @click="$router.push('/home')">回到首页</button>
    </p>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
div {
  min-height: 200px;
  background-color: rgb(208, 104, 154);
}
</style>
